
export const options = [
    {
		label: '宝莫股份',
		value: '002476'
	},
	{
		label: '赞宇科技',
		value: '002637'
	},
	{
		label: '兰州银行',
		value: '001227'
	},
	{
		label: '紫金银行',
		value: '601860'
	},
	{
		label: '兄弟科技',
		value: '002562'
	},
    {
		label: '用友网络',
		value: '600588'
	},
	{
		label: '平高电气',
		value: '600312'
	},
	{
		label: '工业富联',
		value: '601138'
	},
	{
		label: '长白山',
		value: '603099'
	},
	{
		label: '南方路机',
		value: '603280'
	},
	{
		label: '华菱精工',
		value: '603356'
	},
	{
		label: '天域生态',
		value: '603717'
	},
	{
		label: '永安行',
		value: '603776'
	},
	{
		label: '松炀资源',
		value: '603863'
	},
	{
		label: '太和水',
		value: '605081'
	},
	{
		label: '健之佳',
		value: '605266'
	},
	{
		label: '巴比食品',
		value: '605338'
	},
	{
		label: '潍柴动力',
		value: '000338'
	},
	{
		label: '中原传媒',
		value: '000719'
	},
	{
		label: '通化金马',
		value: '000766'
	},
	{
		label: '华西股份',
		value: '000936'
	},
	{
		label: '好上好',
		value: '001298'
	},
	{
		label: '德明利',
		value: '001309'
	},
	{
		label: '通达创智',
		value: '001368'
	},
	{
		label: '达安基因',
		value: '002030'
	},
	{
		label: '康强电子',
		value: '002119'
	},
	{
		label: '北化股份',
		value: '002246'
	},
	{
		label: '积成电子',
		value: '002339'
	},
	{
		label: '中恒电气',
		value: '002364'
	},
	{
		label: '美芝股份',
		value: '002856'
	},
	{
		label: '钧达股份',
		value: '002865'
	},
	{
		label: '铭普光磁',
		value: '002902'
	}
]

export let typeOptions = [
    {
		label: '月',
		value: '103'
	},
    {
		label: '周',
		value: '102'
	},
	{
		label: '日',
		value: '101'
	},
	{
		label: '30分钟',
		value: '30'
	},
	{
		label: '5分钟',
		value: '5'
	},
	{
		label: '1分钟',
		value: '1'
	},
]


export const pageOptions = [
	{
		label: '全部',
		value: 0
	},
	{
		label: '120',
		value: 120
	},
	{
		label: '240',
		value: 240
	},
	{
		label: '480',
		value: 480
	},
	{
		label: '1440',
		value: 1440
	},
]
export const modelOptions = [
	{
		label: '破前低点',
		value: '0'
	},
	{
		label: '破前高点',
		value: '1'
	},
	{
		label: '底型',
		value: '2'
	},
	{
		label: '顶型',
		value: '3'
	},
	{
		label: 'diff突破',
		value: '4'
	},
	{
		label: 'dea突破',
		value: '5'
	},
	{
		label: 'macd金上',
		value: '6'
	},
	{
		label: 'macd金下',
		value: '7'
	},
	{
		label: '女上位',
		value: '8'
	},
	{
		label: '男上位',
		value: '9'
	},
	{
		label: '女变男上',
		value: '10'
	},
	{
		label: '男变女上',
		value: '11'
	},
	{
		label: '上位未分',
		value: '12'
	}
]
export const joinOptions = [
	{
		label: '是',
		value: '1'
	},
	{
		label: '否',
		value: '0'
	},
]
export const markOptions = [
	{
		label: '无',
		value: 0
	},
	{
		label: '上涨',
		value: 1
	},
	{
		label: '盘整',
		value: 2
	},
	{
		label: '下跌',
		value: 3
	}
]

export const getPriceRange = (type) => {
	switch (type) {
		case '0':
			return {min: 0, max: 5}
		case '1':
			return {min: 5, max: 10}
		case '2':
			return {min: 10, max: 20}
		case '3':
			return {min: 20, max: 50}
		case '4':
			return {min: 50, max: 100}
		case '5':
			return {min: 100, max: 3000}
		default:
			return {min: '', max: ''}

	}
}